public class animal {
    public String name;
    public int age;
    public void bark(){
        System.out.println("bark");
    }
    public animal(String name, int age) {
        this.name = name;
        this.age = age;
    }
}
